<?php require 'facebook-sdk/src/facebook.php';

$facebook = new Facebook(array(
	'appId' => '120005274854592',
	'secret' => 'a7f7790809678a06dba58eec8c3b5aca',
	));
	
//get User Id
//$session = $facebook->getSession();

/*if($session)
{
	$user = $facebook->getUser();
	$me = $facebook->api('/me');
}
else{
	print_r("session error");
}
print_r($me);
//$user = $facebook->require_login();
//$friends = $facebook->api_client->friends_get();
//echo "<pre>Friendss:".print_r($friends,true)."</pre>";
*/


?>

<html>
<a href = "http://localhost/samayvilleapp/friends.php"> click here </a>
This is samayVille App... kindly look at it. :)
<br>

<a href ="http://localhost/samayvilleapp/accesstoken.php "> access token here </a>

</html>